/* 首页样式 - 卡通温馨风格 */

/* 轮播图区域 */
.hero {
    padding: 90px 0 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 48px 48px;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.10);
    height: 600px;
    background-color: #fffbe6;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 251, 230, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    background: rgba(255, 251, 230, 0.9);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.15);
    backdrop-filter: blur(8px);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.hero h1 {
    font-size: 54px;
    font-weight: bold;
    color: #d4a200;
    margin-bottom: 18px;
    text-shadow: 2px 2px 8px rgba(255, 215, 0, 0.10);
    letter-spacing: 2px;
    font-family: 'Comic Sans MS', 'Microsoft YaHei', cursive, sans-serif;
}

.hero p {
    font-size: 22px;
    color: #bfa14a;
    margin-bottom: 32px;
    line-height: 1.7;
    font-family: 'Comic Sans MS', 'Microsoft YaHei', cursive, sans-serif;
}

.hero-content::after {
    content: url('https://cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/72x72/1f436.png');
    display: block;
    width: 80px;
    height: 80px;
    margin: 24px auto 0 auto;
    opacity: 0.8;
}

.hero-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.hero-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-nav-dot.active {
    background: #ffd700;
    transform: scale(1.2);
}

.btn-primary.btn-large {
    font-size: 20px;
    border-radius: 24px;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.10);
}

/* 服务区域 */
.services-section {
    padding: 70px 0 60px 0;
    background-color: var(--secondary-color);
}

.section-title {
    text-align: center;
    font-size: 38px;
    font-weight: bold;
    color: #d4a200;
    margin-bottom: 50px;
    position: relative;
    font-family: 'Comic Sans MS', 'Microsoft YaHei', cursive, sans-serif;
}

.section-title::after {
    content: '🐾';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    opacity: 0.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 36px;
    margin-top: 40px;
}

.service-card {
    background: linear-gradient(135deg, #fffbe6 80%, var(--primary-color) 100%);
    border-radius: 28px;
    padding: 32px 18px 24px 18px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.10);
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.18);
    border-color: #ffd700;
    transform: translateY(-6px) scale(1.04);
}
.service-icon {
    width: 90px;
    height: 90px;
    background: #fff8dc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px auto;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.10);
    border: 3px solid #ffe5b4;
    font-size: 40px;
    position: relative;
}
.service-icon::after {
    content: '✨';
    position: absolute;
    right: -10px;
    top: -10px;
    font-size: 22px;
    opacity: 0.7;
}
.service-card:nth-child(2) .service-icon::after { content: '✂️'; }
.service-card:nth-child(3) .service-icon::after { content: '🎓'; }
.service-card:nth-child(4) .service-icon::after { content: '🏠'; }
.service-card:nth-child(5) .service-icon::after { content: '💉'; }
.service-card:nth-child(6) .service-icon::after { content: '🛒'; }

.service-icon i {
    font-size: 40px;
    color: #d4a200;
}

.service-card h3 {
    font-size: 26px;
    font-weight: 600;
    color: #d4a200;
    margin-bottom: 12px;
    font-family: 'Comic Sans MS', 'Microsoft YaHei', cursive, sans-serif;
}

.service-card p {
    color: #bfa14a;
    margin-bottom: 18px;
    line-height: 1.6;
    font-size: 15px;
}

.service-price {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    background-color: #ffd700;
    padding: 8px 18px;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.10);
}

/* 特色介绍区域 */
.features-section {
    padding: 70px 0 60px 0;
    background-color: #fffbe6;
    border-radius: 48px 48px 0 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 32px 20px 24px 20px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.08);
    position: relative;
    transition: box-shadow 0.2s, transform 0.2s;
}
.feature-item:hover {
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.18);
    transform: translateY(-4px) scale(1.03);
}
.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #ffe5b4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px auto;
    font-size: 28px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.10);
    position: relative;
}
.feature-icon i {
    font-size: 28px;
    color: #d4a200;
}
.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #d4a200;
    margin-bottom: 10px;
    font-family: 'Comic Sans MS', 'Microsoft YaHei', cursive, sans-serif;
}
.feature-item p {
    color: #bfa14a;
    line-height: 1.6;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 40px 0;
        border-radius: 0 0 24px 24px;
    }
    .hero h1 {
        font-size: 32px;
    }
    .hero p {
        font-size: 16px;
    }
    .services-section,
    .features-section {
        padding: 40px 0 30px 0;
        border-radius: 24px 24px 0 0;
    }
    .section-title {
        font-size: 24px;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .service-card {
        padding: 18px 8px 14px 8px;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 22px;
    }
    .service-card h3 {
        font-size: 18px;
    }
    .feature-item h3 {
        font-size: 16px;
    }
} 